package io;


import java.io.*;

public class PWDemo {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("pw.txt");
        OutputStreamWriter osw = new OutputStreamWriter(fos);
        BufferedWriter bw = new BufferedWriter(osw);
        PipedWriter pw = new PipedWriter();
        bw.write("和我走在成都的街头走一走");
        bw.write("噢噢噢噢哦哦哦");
        System.out.println("完毕");
        bw.close();
    }
}
